import request from '@/utils/request';

export function addCustomer(params: any) {
    return request({
        url: '/customer/createOrUpdateCustomer',
        method: 'post',
        data: params
    })
}

export function queryCustomerByPage(params: any) {
    return request({
        url: '/customer/queryCustomerByPage',
        method: 'post',
        data: params
    })
}